<template>
<div>
  <h2>Right组件</h2>
  <p ref="aa">Hello  kitty 【🍟🧇🍔🍧🍬🍿🍰🧁🍫】</p>
  <button @click="show">点击输出内容</button>
</div>
</template>

<script>
export default {
    methods: {
      show () {
        console.log(this.$refs.aa.innerHTML)
      }
    }
}
</script>

<style lang="less" scoped>
h2 {
  color: pink;
}
</style>